"To straighten the legs" means to make your legs go from a bent or folded position to a fully extended, straight position.